package com.link.base.base.purchaseplan.controller;

import com.link.base.base.purchaseplan.model.PurchasePlanItem;
import com.link.base.base.purchaseplan.service.PurchasePlanItemService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/link/purchasePlanItem")
public class PurchasePlanItemController extends BasicController<PurchasePlanItem> {

    @Resource
    private PurchasePlanItemService purchasePlanItemService;

    @Override
    public BasicService<PurchasePlanItem> getBasicService() throws Exception {
        return purchasePlanItemService;
    }
}
